home *** CD-ROM | disk | FTP | other *** search
- /* samc0406.c */
-
- #include "teglsys.h"
-
- void main()
- {
- imagestkptr fs;
- unsigned i;
-
- easytegl();
-
- pushimage(1,1,50,50);
- shadowbox(1,1,50,50);
- fs = stackptr;
- showmouse();
-
- i = 20000;
-
- do
- {
- --i;
- if (i == 10000)
- hideimage(fs);
- if (i == 0)
- {
- showimage(fs,fs->x,fs->y);
- i = 20000;
- }
- }
- while( mouse_buttons == 0 );
- if (i <= 10000)
- showimage(fs,fs->x,fs->y);
-
- }